<?php

my_component_load('testing' , false);
my_component_load('paging' , false);
my_component_load('user_akses', false);
$task = isset($_GET['task']) ? $_GET['task'] : ""; 
$id= isset( $_GET['id'] ) ? $_GET['id']:  0;
$user = my_get_data_by_id('user','user_id',$_GET['uid']);
if( $_SERVER["REQUEST_METHOD"] =="POST" ){
	stor_akses();
	my_direct('index.php?com=user');
}else{
	$pagename = "Akses aplikasi untuk ".$user['username'];
	$content  = loadpage_userakses( );
}
generate_my_web($content, $pagename  );	